<include file="Public:header" />
<div class="main">
    <div class="position"><p>您的当前位置：<a href="/">首页</a>  >  店铺  >  问答</p></div>
    <div class="m_t_15 overflow_h">
        <div class="boker_left">
            <include file="Store:left" />
        </div>
        <div class="boker_right">
            <include file="Store:nav" />
            <div class="boker_right_body">
                <div class="boker_ask01">
                    <input type="hidden" id="answer_user_id" value="{$store.user_id}">
                    <table width="827" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td width="114" height="39" align="right"><span class="org">*</span>问题类别：</td>
                            <td height="39" colspan="3">
                                <select class="select02" name="select" id="askCateId">
                                    <option value="0">--请选择分类--</option>
                                    <volist name='ask_cate' id='val'>
                                        <option value="{$val.id}">{$val.html}{$val.name}</option>
                                    </volist>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td height="54" align="right"><span class="org">*</span>问题标题：</td>
                            <td height="54" colspan="3"><input name="textfield2" type="text" class="inp03" id="askTitle" value="请输入标题" /></td>
                        </tr>
                        <tr>
                            <td height="44" align="right" valign="top" style="padding-top:7px;">问题补充：</td>
                            <td height="44" colspan="3" valign="top"><textarea name="textfield2" class="inp04" id="askInfo">请在这输入问题详细内容描述</textarea></td>
                        </tr>
                        <tr>
                            <td height="62" align="right"><span class="org">*</span>姓名：</td>
                            <td width="381" height="62"><input class="inp05" type="text" name="textfield3" id="askName" /></td>
                            <td width="84" align="right"><span class="org">*</span>手机：</td>
                            <td width="248"><input class="inp05" type="text" name="textfield3" id="askPhone" /></td>
                        </tr>
                        <tr>
                            <td height="44">&nbsp;</td>
                            <td height="44" colspan="3"><a href="javascript:;"  id="askBut" class="but25">提交</a></td>
                        </tr>
                    </table>
                </div>

                <div class="boker_ask02">
                    <h1 class="n_h_title"><span class="s_bg_line">回答问题 </span></h1>
                    <div class="index_ul03">
                        <ul>
                            <volist name="page_arr['list']" id='vo'>
                            <li>
                                <h2><a target="_blank" href="{:U('Ask/detail',array('id'=>$vo['ask_id']))}">{$vo.title}</a></h2>
                                <p>{$vo.info}</p>
                            </li>
                            </volist>
                        </ul>
                        <div class="plastic_bottom_pages">
                            {$page_arr.page}
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript" src="__JS__/jquery.js"></script>
<script type="text/javascript" src="__JS__/layer/layer.js"></script>
<script type="text/javascript" src="__JS__/public.js"></script>
<script type="text/javascript">
    $("#askTitle").fangCmsText();
    $("#askInfo").fangCmsText();
    $("#askBut").click(function(){
        var url = "{:U('Ajax/addAsk')}";
        ask_add(url);
    });
</script>
<include file="Public:footer" />